/*
 * @Author: Penk
 * @LastEditors: Penk
 * @LastEditTime: 2022-12-23 12:09:47
 * @FilePath: \penk-ui\src\utils\add.test.ts
 * @email: 492934056@qq.com
 */
import { describe, it, expect } from "vitest";
import { add } from "./add";

describe("add", () => {
  it("add1", () => {
    expect(add()).toBe(0);
  });
  it("add2", () => {
    expect(add(1)).toBe(1);
  });
  it("add3", () => {
    expect(add(1, 2, 3)).toBe(6);
  });
});
